#ifndef ANIMATIONLABEL_H
#define ANIMATIONLABEL_H

#include <QLabel>
#include <QHBoxLayout>
#include <QPalette>


class AnimationLabel : public QWidget
{
	Q_OBJECT
public:
	AnimationLabel(int joint, int type, float start, float stop, int priority);
	
public slots:
	void playing(int priority);
	void setValue(float value);


private:
	QLabel *jointLabel;
	QLabel *priorityLabel;
	QLabel *startLabel;
	QLabel *stopLabel;
	QLabel *currentLabel;
	
	QHBoxLayout *layout;
	
	QPalette *paletteOn;
	QPalette *paletteOff;
	
	int jointNumber;
	int jointType;
	float startValue;
	float stopValue;
	int priorityValue;

private slots:
	


};


#endif
